package com.hmall.api.client;

import com.hmall.api.config.DefaultFeignConfig;
import com.hmall.api.dto.OrderDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "hm-trade",configuration = DefaultFeignConfig.class)
public interface OrderClient {
    @PutMapping("/orders/update")
    Boolean updateById(@RequestBody OrderDTO orderDTO);
}
